﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rhomble.Data
{
	public abstract class BaseRepository
	{
		private RhombleEntities _context;

		public BaseRepository()
		{
			_context = new RhombleEntities();
		}

		protected RhombleEntities Context { get { return _context; } }

		protected virtual void SaveChanges()
		{
			_context.SaveChanges();
		}
	}
}
